<template>
  <div class="list">
    <Content title="美食">
      <!-- 
        在组件的标签内部书写的内容就是插入给组件内部的插槽内容
       -->
      <img src="http://www.atguigu.com/images/index_new/logo.png" alt="" />
    </Content>
    <Content title="游戏">
      <ul>
        <li>LOL1</li>
        <li>LOL2</li>
        <li>LOL3</li>
        <li>LOL4</li>
      </ul>
    </Content>
    <Content title="电影">
      <ul>
        <li>哈哈哈1</li>
        <li>哈哈哈2</li>
        <li>哈哈哈3</li>
        <li>哈哈哈4</li>
      </ul>
    </Content>
  </div>
</template>
<script>
import Content from './components/Content.vue';
export default {
  name: 'App',
  components: {
    Content,
  },
  data() {
    return {};
  },
};
</script>
<style scoped>
.list {
  display: flex;
  justify-content: space-between;
}
</style>
